﻿<navigation:Page  x:Class="TotalSystems.Store.Views.RequesManagment.StuffBuyRequest" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
            d:DesignWidth="2000" d:DesignHeight="800"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           Title="مدیریت درخواست خرید کالا " xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:my="clr-namespace:TotalSystems.Core.Controls;assembly=TotalSystems.Core">

    <Grid x:Name="LayoutRoot"  FlowDirection="RightToLeft" Height="800">
        <Rectangle Height="68" HorizontalAlignment="Left" Margin="12,45,0,0" Name="RECT" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="1988" Fill="#FF0C185D" />
        <telerik:RadGridView Margin="12,267,8,0" Name="RGV_Currency" VerticalAlignment="Top" ShowGroupPanel="False" Height="280" AutoGenerateColumns="False" IsReadOnly="True" CanUserDeleteRows="False">
            <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu FlowDirection="RightToLeft" Name="radContextMenu_GridView" >
                    <telerik:RadMenuItem Header="جدید"  Name="radContextMenu_GridView_Add"  >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Add.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="ویرایش" Name="radContextMenu_GridView_Edit"  >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Edit.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="حذف" Name="radContextMenu_GridView_Delete" >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Delete.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="بارگزاری مجدد" Name="radContextMenu_GridView_Reload" >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Sd_Temp}" Header="ردیف" UniqueName="STR_Sd_Temp" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Stuff_ID_fk}" Header="کد کالا" UniqueName="STR_Stuff_ID_fk" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Stuff_Name}" Header="نام کالا" UniqueName="STR_Stuff_Name" Width="100"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="واحد کالا" UniqueName="STR_Us_ID" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Rs_ID}" Header="گروه کالا" UniqueName="STR_Rs_ID" Width="100" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Sdd_RequestCount}" Header="مقدار/تعداد" UniqueName="STR_Sdd_RequestCount" Width="100"/>
               <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Sdd_RequsetValueTotal}" Header="بهای واحد" UniqueName="STR_Sdd_RequsetValueTotal" Width="100"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding pleaseCheck}" Header="بهای کل" UniqueName="STR_Rs_ID" Width="*" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
        <!--<telerik:RadDataPager  Source="{Binding Items, ElementName=RGV_Currency}" PageSize="10" Height="28" Margin="12,538,8,0" Name="RDP_Currency" VerticalAlignment="Top" DisplayMode="FirstLastPreviousNextNumeric" FlowDirection="LeftToRight"/>-->
        <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="16,523,0,0" Name="Btn_RGV_Currency_Add" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="اضافه کردن رکورد جدید" >
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="44,523,0,0" Name="Btn_RGV_Currency_Edit" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ویرایش کردن رکورد" >
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="72,523,0,0" Name="Btn_RGV_Currency_Delete" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="حذف کردن رکورد" >
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="100,523,0,0" Name="Btn_RGV_Currency_Reload" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="بارگزاری مجدد" >
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22" HorizontalAlignment="Left" Margin="128,523,0,0" Name="Btn_RGV_Currency_Export" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="گرفتن خروجی از گرید" >
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Save.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="12,6,0,0" Name="Btn_Add" ToolTipService.ToolTip="ایجاد" VerticalAlignment="Top" Width="35">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="48,6,0,0" Name="Btn_Edit" ToolTipService.ToolTip="ویرایش" VerticalAlignment="Top" Width="35">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="85,6,0,0" Name="Btn_Delete" ToolTipService.ToolTip="حذف" VerticalAlignment="Top" Width="35">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" HorizontalAlignment="Left" Margin="122,6,0,0" Name="Btn_Help" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" Width="35">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Help.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" HorizontalAlignment="Left" Margin="266,119,0,0" Name="Btn_Ok" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" Width="25" Tag="PleaseCheck">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_AcceptFolder.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" HorizontalAlignment="Left" Margin="294,119,0,0" Name="radButton8" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" Width="25" Tag="PleaseCheck">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.PNG" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" HorizontalAlignment="Left" Margin="266,148,0,0" Name="Btn_Ok_PUB_Customer_ID_fk" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" Width="25">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_AcceptFolder.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" HorizontalAlignment="Left" Margin="294,148,0,0" Name="Btn_Search_PUB_Customer_ID_fk" ToolTipService.ToolTip="راهنمای فرم" VerticalAlignment="Top" Width="25">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.PNG" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <my:LabeledText HorizontalAlignment="Left" IsMandatory="True" LabelText="شماره درخواست" LableWidth="100" Margin="11,120,0,0" Name="labelText1" Text="" VerticalAlignment="Top" Width="251" />
        <my:LabeledText HorizontalAlignment="Left"  LabelText="موضوع درخواست" LableWidth="100" Margin="374,119,0,0" Name="labeledText1" Text="" VerticalAlignment="Top" Width="251" />
        <my:LabeledText HorizontalAlignment="Left" IsMandatory="True" LabelText="کد درخواست کننده" LableWidth="100" Margin="12,148,0,0" Name="labeledText2" Text="" VerticalAlignment="Top" Width="251" />
        <my:LabeledText HorizontalAlignment="Left" LabelText="عنوان درخواست کننده" LableWidth="100" Margin="374,149,0,0" Name="labeledText3" Text="" VerticalAlignment="Top" Width="251" />
        <my:LabeledText HorizontalAlignment="Left"  LabelText="شماره درخواست صدور" LableWidth="100" Margin="11,177,0,0" Name="labeledText4" Text="" VerticalAlignment="Top" Width="251" />
        <my:LabeledText HorizontalAlignment="Left"  LabelText="تاریخ درخواست صدور" LableWidth="100" Margin="374,176,0,0" Name="labeledText5" Text="" VerticalAlignment="Top" Width="251" />
        <my:LabeledText HorizontalAlignment="Left" LabelText="توضیحات" LableWidth="100" Margin="11,207,0,0" Name="labeledText17" Text="" VerticalAlignment="Top" Width="508" />
        <my:LabeledText HorizontalAlignment="Left" LabelText="درخواست های مرتبط" LableWidth="100" Margin="11,236,0,0" Name="labeledText18" Text="" VerticalAlignment="Top" Width="508" />
        <my:LabeledCombo Height="25" HorizontalAlignment="Left" IsMandatory="True" LabelText="نام انبار" LableWidth="100" Margin="16,50,0,0" Name="labeledCombo2" VerticalAlignment="Top" Width="246" />
        <my:LabeledCombo Height="25" HorizontalAlignment="Left" IsMandatory="True" LabelText="نوع درخواست" LableWidth="100" Margin="16,81,0,0" Name="labeledCombo3" VerticalAlignment="Top" Width="245" />
    </Grid>
</navigation:Page> 
